package com.zhuiyi.yiqingbackend.mapper;

import com.zhuiyi.yiqingbackend.domain.Notice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    List<Notice> getNotices();
    boolean addNotice(Notice notice);
    boolean deleteNotice(int id);
    boolean updateNotice(Notice notice);
    Notice getNoticeById(int id);
}
